home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / pctchnqs / 1990 / number4 / l5.asm < prev    next >
Assembly Source File  |  1990-08-02  |  348b  |  13 lines

  1.  
  2.  
  3.      CLC            ;clear the carry for the initial addition
  4. LOOP_TOP:
  5.      MOV  AX,[SI]   ;get next source operand word
  6.      ADC  [DI],AX   ;add with carry to dest operand word
  7.      INC  SI        ;point to next source operand word
  8.      INC  SI
  9.      INC  DI        ;point to next dest operand word
  10.      INC  DI
  11.      LOOP LOOP_TOP
  12.  
  13.